﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jy123.Model
{
    public class MPagination
    {
        /// <summary>
        /// 表名称,视图
        /// </summary>
        public string Tables { get; set; }
        /// <summary>
        /// 主键
        /// </summary>
        public string PrimaryKey { get; set; }
        /// <summary>
        /// 排序语句，不带Order By 比如：NewsID Desc,OrderRows Asc
        /// </summary>
        public string Sort { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int CurrentPage { get; set; }
        /// <summary>
        /// 分页尺寸
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 字段
        /// </summary>
        public string Fields { get; set; }
        /// <summary>
        /// 过滤语句，不带Where 
        /// </summary>
        public string Filter { get; set; }
        /// <summary>
        /// Group语句,不带Group By
        /// </summary>
        public string Group { get; set; }
    }
}
